Optimal. Leaf size=105 \[ \frac {a^7}{3 b^8 (a+b x)^3}-\frac {7 a^6}{2 b^8 (a+b x)^2}+\frac {21 a^5}{b^8 (a+b x)}+\frac {35 a^4 \log (a+b x)}{b^8}-\frac {20 a^3 x}{b^7}+\frac {5 a^2 x^2}{b^6}-\frac {4 a x^3}{3 b^5}+\frac {x^4}{4 b^4} \]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 105, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {43} \begin {gather*} \frac {5 a^2 x^2}{b^6}+\frac {a^7}{3 b^8 (a+b x)^3}-\frac {7 a^6}{2 b^8 (a+b x)^2}+\frac {21 a^5}{b^8 (a+b x)}-\frac {20 a^3 x}{b^7}+\frac {35 a^4 \log (a+b x)}{b^8}-\frac {4 a x^3}{3 b^5}+\frac {x^4}{4 b^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rubi steps
\begin {align*} \int \frac {x^7}{(a+b x)^4} \, dx &=\int \left (-\frac {20 a^3}{b^7}+\frac {10 a^2 x}{b^6}-\frac {4 a x^2}{b^5}+\frac {x^3}{b^4}-\frac {a^7}{b^7 (a+b x)^4}+\frac {7 a^6}{b^7 (a+b x)^3}-\frac {21 a^5}{b^7 (a+b x)^2}+\frac {35 a^4}{b^7 (a+b x)}\right ) \, dx\\ &=-\frac {20 a^3 x}{b^7}+\frac {5 a^2 x^2}{b^6}-\frac {4 a x^3}{3 b^5}+\frac {x^4}{4 b^4}+\frac {a^7}{3 b^8 (a+b x)^3}-\frac {7 a^6}{2 b^8 (a+b x)^2}+\frac {21 a^5}{b^8 (a+b x)}+\frac {35 a^4 \log (a+b x)}{b^8}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 90, normalized size = 0.86 \begin {gather*} \frac {\frac {4 a^7}{(a+b x)^3}-\frac {42 a^6}{(a+b x)^2}+\frac {252 a^5}{a+b x}+420 a^4 \log (a+b x)-240 a^3 b x+60 a^2 b^2 x^2-16 a b^3 x^3+3 b^4 x^4}{12 b^8} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^7}{(a+b x)^4} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.04, size = 151, normalized size = 1.44 \begin {gather*} \frac {3 \, b^{7} x^{7} - 7 \, a b^{6} x^{6} + 21 \, a^{2} b^{5} x^{5} - 105 \, a^{3} b^{4} x^{4} - 556 \, a^{4} b^{3} x^{3} - 408 \, a^{5} b^{2} x^{2} + 222 \, a^{6} b x + 214 \, a^{7} + 420 \, {\left (a^{4} b^{3} x^{3} + 3 \, a^{5} b^{2} x^{2} + 3 \, a^{6} b x + a^{7}\right )} \log \left (b x + a\right )}{12 \, {\left (b^{11} x^{3} + 3 \, a b^{10} x^{2} + 3 \, a^{2} b^{9} x + a^{3} b^{8}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.01, size = 95, normalized size = 0.90 \begin {gather*} \frac {35 \, a^{4} \log \left ({\left | b x + a \right |}\right )}{b^{8}} + \frac {126 \, a^{5} b^{2} x^{2} + 231 \, a^{6} b x + 107 \, a^{7}}{6 \, {\left (b x + a\right )}^{3} b^{8}} + \frac {3 \, b^{12} x^{4} - 16 \, a b^{11} x^{3} + 60 \, a^{2} b^{10} x^{2} - 240 \, a^{3} b^{9} x}{12 \, b^{16}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 98, normalized size = 0.93 \begin {gather*} \frac {x^{4}}{4 b^{4}}+\frac {a^{7}}{3 \left (b x +a \right )^{3} b^{8}}-\frac {4 a \,x^{3}}{3 b^{5}}-\frac {7 a^{6}}{2 \left (b x +a \right )^{2} b^{8}}+\frac {5 a^{2} x^{2}}{b^{6}}+\frac {21 a^{5}}{\left (b x +a \right ) b^{8}}+\frac {35 a^{4} \ln \left (b x +a \right )}{b^{8}}-\frac {20 a^{3} x}{b^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.39, size = 114, normalized size = 1.09 \begin {gather*} \frac {126 \, a^{5} b^{2} x^{2} + 231 \, a^{6} b x + 107 \, a^{7}}{6 \, {\left (b^{11} x^{3} + 3 \, a b^{10} x^{2} + 3 \, a^{2} b^{9} x + a^{3} b^{8}\right )}} + \frac {35 \, a^{4} \log \left (b x + a\right )}{b^{8}} + \frac {3 \, b^{3} x^{4} - 16 \, a b^{2} x^{3} + 60 \, a^{2} b x^{2} - 240 \, a^{3} x}{12 \, b^{7}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.22, size = 90, normalized size = 0.86 \begin {gather*} \frac {\frac {{\left (a+b\,x\right )}^4}{4}-\frac {7\,a\,{\left (a+b\,x\right )}^3}{3}+\frac {21\,a^2\,{\left (a+b\,x\right )}^2}{2}+\frac {21\,a^5}{a+b\,x}-\frac {7\,a^6}{2\,{\left (a+b\,x\right )}^2}+\frac {a^7}{3\,{\left (a+b\,x\right )}^3}+35\,a^4\,\ln \left (a+b\,x\right )-35\,a^3\,b\,x}{b^8} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.48, size = 119, normalized size = 1.13 \begin {gather*} \frac {35 a^{4} \log {\left (a + b x \right )}}{b^{8}} - \frac {20 a^{3} x}{b^{7}} + \frac {5 a^{2} x^{2}}{b^{6}} - \frac {4 a x^{3}}{3 b^{5}} + \frac {107 a^{7} + 231 a^{6} b x + 126 a^{5} b^{2} x^{2}}{6 a^{3} b^{8} + 18 a^{2} b^{9} x + 18 a b^{10} x^{2} + 6 b^{11} x^{3}} + \frac {x^{4}}{4 b^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________